Summary
Includes a random document from a list of documents.
Category | AS Document |
Version | 1.0 |
Complies with Xhtml 1.0 / 1.1 rules | Yes |
Supported server programming languages | C# Visual Basic.NET |
Output content type | block |
When to use
This component is typically used when there is a need to include randomly selected documents from a specific category.
Programming interface
Parameters
- General Settings
- Document list
- A comma separated string of documentids which you want to randomize from. Ex. 101,102,103,104
- Presentation template
- Optional a presentation template to use for the inserted document. This parameter is applicable for EPT documents only.
Remarks
Since this component include documents all documents inserted must be without metadata.
In order to follow the (X)html-specification make sure that the documents you are randomizing from are following the target DocType.
Both Rotate documents and Randomize documents performs random selection among documents. The difference between them is that when Randomize documents selects a document from a list of documents Rotate documents selects a document from an specific category.